package cn.shop.ordersystem.pojo.dto;

public class ProductDTO {
    private Integer id;
    private Double price;        //价格
    private Double oldPrice;     //原价
    private String foodName;     //菜名
    private Integer foodTypeId;  //所属分类
    private String url;          //图片
    private String state;       //状态
    private String details;      //详情

    @Override
    public String toString() {
        return "ProductDTO{" +
                "id=" + id +
                ", price=" + price +
                ", oldPrice=" + oldPrice +
                ", foodName='" + foodName + '\'' +
                ", foodTypeId=" + foodTypeId +
                ", url='" + url + '\'' +
                ", state='" + state + '\'' +
                ", details='" + details + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(Double oldPrice) {
        this.oldPrice = oldPrice;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Integer getFoodTypeId() {
        return foodTypeId;
    }

    public void setFoodTypeId(Integer foodTypeId) {
        this.foodTypeId = foodTypeId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }
}
